package com.didi.gulimall.product.dao;

import com.didi.gulimall.product.entity.SpuImagesEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * spu图片
 * 
 * @author didi
 * @email 1062664904@qq.com
 * @date 2021-01-14 15:42:45
 */
@Mapper
public interface SpuImagesDao extends BaseMapper<SpuImagesEntity> {
    /**
     * 批量保存spu图片
     * @param spuId
     * @param images
     */
    void saveImages(@Param("spuId") Long spuId, @Param("images") List<String> images);
}
